<template>
    <div>
        <common-header>
            <span slot="title">Movie</span>
        </common-header>
        <router-view></router-view> 
        <common-footer></common-footer>
    </div>
</template>

<script>
import CommonHeader from '../common/Header'
import CommonFooter from '../common/Footer'
export default {
  components: { //组件component是什么? 就是一个自定义的标签
      CommonHeader,
      CommonFooter
  }
} 
</script>

<style scoped>

</style>


